/* Ejercicio 4.21
   ejer4_21.c */
#include <stdio.h>

/* function main begins program execution */
int main( void )
{
    int counter; /* define counter */

    /* initialization, repetition condition, and increment
       are all included in the for statement header. */
    counter = 1;

    for ( ; counter <= 10; counter++ ) {
        printf( "%d\n", counter );
    } /* end for */

    return 0; /* indicate program ended successfully */
} /* end function main */
